package net.yihang.miaosha.service;

import net.yihang.miaosha.dao.OrderDao;
import net.yihang.miaosha.domain.Order;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderService {

    @Autowired
    private OrderDao orderDao;

    public void saveOrder(Order order) {
        orderDao.saveOrder(order);
    }
}
